<template>
    <section class="warp">
      <div class="searchIpt clearFix">

        <!--sync：同步的意思，子组件的is-show和父组件是双向绑定的-->
        <select-input :is-show.sync='listShow'></select-input>

        <list v-show='listShow'></list>

      </div>
    </section>
</template>

<script>

import selectInput from '@/components/selectInput'
import list from '@/components/list'

export default {

  data(){
      return {
        listShow:false
      }
  },
  components: {
    selectInput,
    list
  }

}
</script>
